//
//  JPProgressHUD.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/5/26.
//

#import <MBProgressHUD/MBProgressHUD.h>

NS_ASSUME_NONNULL_BEGIN

@interface JPProgressHUD : MBProgressHUD

+ (instancetype)showRightMsg:(NSString *)msg;
+ (instancetype)showRightMsg:(NSString *)msg inView:(UIView *)view;

+ (instancetype)showWrongMsg:(NSString *)msg;
+ (instancetype)showWrongMsg:(NSString *)msg inView:(UIView *)view;

+ (instancetype)showLoading;
+ (instancetype)showLoadingInView:(UIView *)view;

+ (instancetype)showMsg:(NSString *)msg;
+ (instancetype)showMsg:(NSString *)msg inView:(UIView *)view;

+ (void)hideLoading;

+ (instancetype)JPShowHUDWithMsg:(NSString *)msg inView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
